﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LLoger;
using LimitatorInterfaces.UnloadServices;

namespace UnloadServices
{
    public class MicexFileUnloadServiceFactory: UnloadServiceFactory
    {
        public override IUnloadService CreateUnloadService(string configPath, ILogWriter logWriter)
        {
            IUnloadProvider provider = new MicexFileUnloadProvider();
            IUnloadFormatter fotmatter = new MicexFileFormatter();

            IUnloadService svc = new UnloadService(provider,fotmatter, configPath, logWriter);
            return svc;
        }
    }
}
